.square {
  height: 49px;
  width: 45px;
}

td.rowid {
  width: 49px;
}

td.colid {
  height: 45px;
}

table.chessboard {
  margin-left: auto;
  margin-right: auto;
}

td.black {
  background-color: #ff912a;
  border: 2px solid #ff912a;
}

td.white {
  background-color: #d5fff8;
  border: 2px solid #d5fff8;
}

#chessboard-area {
  float: left;
  text-align: center;
  vertical-align: middle;
  width: 70%;
}

#commands, #black-player, #white-player{
  text-align: center;
}

td.lastmove {
  border: 2px solid blue;
}

td.selected {
  border: 2px solid red;
}

#commands {
  float: left;
}

#commands a {
  display: block;
  margin: 5px;
}

#black-player, #white-player {
  width: 100%;
}

#chessboard {
  float: left;
  width: 80%;
}

#notifications {
  position: absolute;
  top: 200px;
  left: 200px;
  padding: 15px;
  background: #b6fff9;
  width: 400px;
  border: 2px solid black;
  display: none;
}

#ok-button {
  float: right; 
}

b.playing {
  border: 1px solid;
  padding: 0 35px;
  background: #ffaef0;
}

#promotion {
  position: absolute;
  top: 150px;
  left: 240px;
  padding: 15px;
  background: #b6fff9;
  border: 2px solid black;
  display: none;
}

#promotion a {
  display: block;
  float: left;
  padding: 4px 15px 4px;
  text-align: center;
}

#promotion a:hover {
  text-decoration: none;
  background-color: #FFFFCC;
}

#promotion a img {
  border: none;
}